package com.mask.im.business;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

import java.util.TimeZone;

/**
 * @author jian
 */

@MapperScan("com.mask.im.business.mapper") // 关键：扫描Mapper接口所在包
@SpringBootApplication
//@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class}) // 关键：排除默认数据源配置
public class MaskImBusinessApp {

    public static void main(String[] args) {
        SpringApplication.run(MaskImBusinessApp.class, args);
        TimeZone.setDefault(TimeZone.getTimeZone("GMT+8"));
    }
}
